(x_find_modifier_meanings): If some keys are meta and alt,
authorRichard M. Stallman <rms@gnu.org>
Thu, 20 May 1993 13:43:48 +0000 (13:43 +0000)
committerRichard M. Stallman <rms@gnu.org>
Thu, 20 May 1993 13:43:48 +0000 (13:43 +0000)
make them just meta, not alt.

src/xterm.c

index 91622d7f27d1c6d1b41a22e6e7a4b8f27377cd32..d558f394b3e625bad767f245f4a6d59b012f2702 100644 (file)
@@ -1505,6 +1505,13 @@ x_find_modifier_meanings ()
       x_alt_mod_mask = 0;
     }
 
+  /* If some keys are both alt and meta,
+     make them just meta, not alt.  */
+  if (x_alt_mod_mask & x_meta_mod_mask)
+    {
+      x_alt_mod_mask &= ~x_meta_mod_mask;
+    }
+  
   XFree ((char *) syms);
   XFreeModifiermap (mods);
 }